Frequently asked questions

 

Q1: Will the information in the process of running the program be output to the log? Where is the log kept?
Answer: There are two kinds of

output logs, one is the log of SuperMap iDesktopX, and the other is the log of SuperMap iDesktop iObjects, which records the information of desktop and component running output respectively. The contents in the log include the Output Window of the program Output Window, exception information, and so on. The log is stored in the "log" folder under the "bin" directory under the root directory.

Q2: When using Oracle Datasource from the desktop on a Linux system, why does the prompt Open or New fail?
Answer: This phenomenon is the reason why the OracleEnvironment Variable is not set. The Solution is to temporarily set the Oracle client to the Environment Variable in the Terminal before starting SuperMap iDesktopX every time. For example, set the Environment Variable through the profile file, write the following command to the profile file, and then execute the source profile in Terminal.

 

!/bin/bash export ORACLE _ HOME =/opt/oracle client export PATH=$PATH:$ORACLE_HOME export LD_LIBRARY_PATH=$ORACLE_HOME:$LD_LIBRARY_PATH

After the Environment Variable of the

Oracle client is set, restart SuperMap iDesktopX in the Terminal to use OracleDatasource normally. To create or link an oracleDatasource on the desktop, you need to configure the oracle client in the environment where the desktop is running. Add the client to the LD _ LIBRARY _ PATH, and you can give a profile example. And configure that tnsnames. Ora. EZConnect can also be used, and tnsnames can be left unconfigured.

Q3: Which version of iObjects Java is used by the project? The develop branch on OSCHINA cannot be compiled with the latest iObjects downloaded from the official website. How to solve this problem?
Answer: The source code in the

develop branch depends on the iObjects Java, which is still under development and not released. Users cannot get the iObjects of Newest Version, which will cause code compilation errors. It is recommended that users grab the source code of the fixed version in Tags and download the corresponding iObjects Java version from the SuperMap official website for compilation.

Q4: Start iDesktopX fails to start with "No licenses found. Please verify that the license was installed successfully.".
Answer: There are three reasons for

this, the first is that the license is not configured, the second is that the license is not configured successfully, and the third is that the license expires. For the first two reasons, the Solution is to reconfigure the license, and the Windows and Linux operating systems are configured differently. Please refer to the license configuration in the Windows Configuration Guide and the Linux Configuration Guide respectively for specific operations.

Q5: Why does SuperMap iDesktopX report "libSuGraphics QT. Uge: undefined" when launched on SUSE Linux Enterprise 11 SP2 operating system Error for symbol: _ ZN40GDC170gdcUnicodeStringC1EPKw?
Answer: A third-party database client needs to be installed

on SUSE to properly load the sdx data engine. Failure to load one sdx can affect the loading of other sdx data engines, resulting in failure to open any Datasource or failure to start the program. The sdx data engine files that need to rely on the third-party database client include: libSuEngineSRDB. Sdx, libSuEngineOracle. Sdx, libSuEngine DMCI. Sdx, libSuEngineOsp. Sdx, libSuEngineAltibase.sdx、libSuEngineDB2.sdx、libSuEngineKDB.sdx。 For example: If you want to use Oracle Datasource, install the Oracle client first, then delete all the *.sdx above except the libSuEngineOracle. Sdx, and then start the SuperMap iDesktopX desktop. By analogy, if you need to use another database engine, do the same.

As a workaround, leave that libSuEngineImagePlugin. Sdx and required database engine file in the bin directory of the package, and delete the unneeded database engine files (*. Sdx in the above list).

Q6: An exception was thrown while compiling and running the code.
Answer: The code on

git is divided into two branches: master and develop. The master branch is the main version branch, and it will be pushed to the master branch every time a stable version is released. The develop branch is a development branch, and the code modified every day will be pushed, but the stability of the code is not guaranteed. Therefore, the develop version may throw an exception.

Q7: Running SuperMap iDesktopX on Linux, what happens when the fonts in the interface are displayed as squares?
Answer:

This is caused by the lack of Chinese fonts in the Linux system. Place a Chinese font in the JRE/JRE/lib/fonts folder under the product package directory, and the program interface text can be displayed normally.

Q2: Display Exception for text labels in maps on Linux.
Answer:

In the process of map visualization, some special fonts will be used, such as "Microsoft YaHei" ", which may not be available in Linux operating system, resulting in Display Exception of text elements such as map annotations. Please check the attachments fonts _ 1.zip and fonts _ 2.zip , which contain common fonts. When using this program or source code on Linux operating system, Please download and extract to the "root directory/support/fonts/" directory (if not, please create it yourself). Add Environment Variable SUPERMAP _ ROOT, the Environment Variable value is set to "root/support/". Then, the environment is configured according to the SuperMap iDesktopX 8C Extension Development Guide. Doc , and the text elements can be displayed normally.

Q9: The Map Service with Chinese Name is published in the Linux system without Chinese environment, and the map is Preview ImageDisplay Exception in the browser.
Answer:

If Linux does not have a Chinese environment, it is recommended to change the published Map Name to an English name; or publish a Map Service with a Chinese Name in a Linux system with a Chinese environment.

Q10: If the JRE version of centos 5.7 system configuration is earlier than 1.7, SuperMap iDesktopX cannot be started and an error will be reported, how to solve this problem?
Answer: The startup

of SuperMap iDesktopX depends on the JRE 1.7 and newer environment. Since the JRE version does not meet the requirements, Java will fail to start. Solution has the following two types:

  • Solution 1: Uninstall the old JRE environment installed locally, install JRE 1.7 or later, and then restart Java.
  • Solution 2: The Java product package contains the JRE 1.7 environment. When starting iDesktopX, the local configuration environment will be given priority, which will lead to startup failure. If the user does not want to uninstall the local JRE environment, he can modify the script of the startup. Sh. Bring $JRE _ PATH: from "export PATH = $SUPERMAP _ ROOT: $LD _ LIBRARY _ PATH: $JRE _ PATH: $PATH" to the front, That is, export PATH = $JRE _ PATH: $SUPERMAP _ ROOT: $LD _ LIBRARY _ PATH: $PATH. Re-execute the startup. Sh file to start Java.

Note: This problem has been solved in the 9 D version, and the problem that the JRE environment is too low to start will not occur.

Q11: Start iDesktopX reported "Java. Lang. UnsatisfiedLinkError:/opt/SuperMap _ iDesktop _ Java _ 8.1.1 _ bin _ linux64/bin/lib WrapjGeo. So: /usr/lib64/libstdc + +.so.6: version`GLIBCXX _ 3.4.9 'not found (required by./bin/libSuToolkit. So)' error
Answer: The problem can be solved by copying the "libstdc + +.so.6" file in the support folder of the

desktop package to the Bin directory of the component.

Q12: In the centos5.7 system, when using the SecureCRT. Exe terminal control tool to remotely access the server, only the command line operation box appears without displaying the interface, and the iDesktopX cannot be started.
Answer: The startup of the

desktop needs to rely on the graphical interface library, which can only be started on the graphical interface and operate graphically. Therefore, it is necessary to ensure that the graphic interface library is configured on the Remote Service server first. Secondly, select the visual remote connection tool, while SecureCRT is a command-line remote connection tool. It is recommended to use another remote control tool, such as VNC or xmanager. Both tools can remotely connect to UNIX or Linux and operate graphically, but they need to be configured accordingly. Vnc configuration can be found in How to configure VNC in centos 5.5 and Installation and configuration of. VNC

Note: If you encounter this problem in other Linux operating systems, you can use the same Solution.

Q13: Why SuperMap iDesktopX is installed to C: \ Program Files, C: \ Program Files (x86) and other system directories, although the desktop can be started normally. But some functions (such as: Modify Color Scheme, Layout Save to Template Library) cannot be used normally.
Answer:

Execute functions such as modifying Color Scheme and Save layout to Template Library to write data to the installation path. When you double-click the SuperMap iDesktop X. ExeStart iDesktopX directly, you are not authorized to write data to the system directory, so the function will be The execution is failed. At this time. Running the SuperMap iDesktopX. Exe as an administrator solves the problem.

Q14: Why can't I use SuperMap iDesktopX to open data in system directories such as C: \, C: \ Program Files, and C: \ Program Files (x86), and save files such as images and templates to system directories?
Answer: When you

directly double-click the SuperMap iDesktop X. ExeStart iDesktopX, you do not have the permission to read and write the data under the system directory. This problem can be solved in the following ways:

  • Scheme 1: put the data to be used in the non-system directory, and change the path of the output file to the non-system directory; (recommended)
  • Scheme 2: Select the SuperMap iDesktopX. Exe, right click, and select Run as Administrator.
  • Scheme 3: Select the SuperMap iDesktopX. Exe, right click, select "Properties", change the exe authority to administrator authority, ReRunexe;
Q15: Starting SuperMap iDesktopX in Windows system fails with the following error, and the error. Log prompts "Installation path \ SuperMap iDesktopX 10i \ bin \ WrapjGeo. DLL: The specified program cannot be found." How to solve it?
Answer:

This condition is due to the lack of the Microsoft Visual C + + Runtime Environment. In the package installation path \ SuperMap \ SuperMap iDesktopX 10i \ support folder, Double-click vcredist110 _ x64.exe. After Microsoft Visual C + + 2012 is successfully installed, SuperMap iDesktopX can be started normally.

Q16: In the Windows Server system, start SuperMap iDesktopX to prompt the following error. How to solve it?
Answer:

This is caused by the DLL file failing to load. It can be solved by the following methods:

  1. Start SuperMap iDesktopX
  2. again;
  3. If the same error is still reported when SuperMap iDesktopX is started again, you can open the SuperMap. Desktop. Parameter. XML file in the product package \ configuration folder and set the " & lt; Change true in loadDll loadDll = "true"/ to False;
  4. After
  5. modification, restart SuperMap iDesktopX.